<template>
    <div class="banben">
          <div class="title">
         <img src="../assets/images/fanhui.png" @click="fanhui" height="16px" alt="" style="float: left;margin-top: 12px;">
         版本信息
       </div>
       <div class="dqbb">
            <span>当前版本</span> <span>{{arr.versions}}</span>
       </div>
       <div class="bbxx">
           <div>版本信息</div>
           <div style="color:#b0b0b0">{{arr.infomation}}</div>
       </div>
    </div>
</template>

<script>
import {usersversion} from '../requset/api'
export default {
    data () {
        return {
        arr:{}
 
        }
    },
    created(){
        usersversion().then(res=>{
            console.log(res);
            this.arr=res.data
        })
    },
    methods:{
         fanhui(){
            this.$router.back()
        },
    }
}
</script>
 
<style lang = "less" scoped>
.banben{
    width: 100%;
    min-height: 100vh;
    background:#f5f5f5 ;
}
      .title{
        height: 43px;
        width: 100%;
        background: #003399;
        text-align: center;
        line-height: 43px;
        color: #fff ;
        padding-left: 12px;
        box-sizing: border-box;
    }
    .dqbb{
        background: #fff;
        padding: 0px;
        height: 45px ;
        line-height: 45px;
        padding: 0px 15px;
        border-bottom:1px solid #e5e5e5 ;
        display: flex;
        justify-content: space-between;
        color: #666;
       
    }
    .bbxx{
         margin-top: 20px;
        background: #fff;
        padding: 15px;
        line-height: 30px;
    }
</style>